package 面向对向.继承;

public class dom01 {
    private String name = "ll";
    public dom01(){
        System.out.println("构造器父类");
    }
    public void sh(){
        System.out.println("时候");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void ss(){
        System.out.println("父类");
    }
}
